package com.suncnpap.journal.mapper;


import com.suncnpap.journal.model.JournalRegistration;

import org.apache.ibatis.annotations.Param;

import com.suncnpap.base.mapper.BaseMapper;

/** 
 * 说明： 期刊登记Mapper
 */
public interface JournalRegistrationMapper extends BaseMapper<JournalRegistration>{
	
	/**
	 * 借出
	 * @param strId
	 */
	public void updateBorrowById(@Param("strBarcodeNumber") String strBarcodeNumber, @Param("strSchoolId") String strSchoolId);
	
	/**
	 * 归还
	 * @param strId
	 */
	public void updateReturnById(@Param("strBarcodeNumber") String strBarcodeNumber, @Param("strSchoolId") String strSchoolId);
	
	public JournalRegistration findByBarcode(@Param("strBarcodeNumber") String strBarcodeNumber, @Param("strSchoolId") String strSchoolId);
}

